package com.gcb.service;

import com.gcb.domain.dto.OrderShipQueryDTO;
import com.gcb.domain.dto.OrderShipSaveDTO;
import com.gcb.domain.vo.OrderShipVO;

import java.util.List;

public interface IOrderShipService {

    /**
     * 新增
     */
    public void add(OrderShipSaveDTO orderShip, Long currentUserId);

    /**
     * 删除
     */
    public void delete(int id);

    /**
     * 更新
     */
    public void update(OrderShipSaveDTO orderShip, Long currentUserId);

    /**
     * 根据主键 id 查询
     */
    public OrderShipVO getDetail(Long id);

    /**
     * 列表
     * @param queryDTO
     * @return
     */
    public List<OrderShipVO> list(OrderShipQueryDTO queryDTO);

    void batchUpdateState(Long[] ids,Integer state);
}
